* {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

.box {
  position: relative;
  margin: 0 auto;
  width: 400px;
  height: 170px;
  user-select: none;
  overflow: hidden;
}
.box > .img_box > ul {
  /* position: relative; */
  width: 1000px;
  height: 170px;
  display: flex;
}
.box > .img_box > ul > li {
  /* position: absolute; */
  left: 0;
  top: 0;
  width: 400px;
  transform: translateX(-400px);

  /* display: none; */
}
/* 激活类名, 显示li */
/* .box > .img_box > ul > .imgActive { */
  /* display: block; */
  /* transform: translateX(400px); */
/* }   */

.box > .img_box > ul > li > a > img {
  width: 400px;
}

/* 左右箭头 */
.box > .img_box .arrow_left,
.box > .img_box .arrow_right {
  font-size: 30px;
  cursor: pointer;
  background-color: gray;
  color: #fff;
  width: 30px;
  text-align: center;
}

.box > .img_box .arrow_left:hover,
.box > .img_box .arrow_right:hover {
  background-color: #000;
}

.box > .img_box .arrow_left {
  position: absolute;
  top: 40px;
  left: 0px;
}

.box > .img_box .arrow_right {
  position: absolute;
  top: 40px;
  right: 0px;
}

/* 小圆点 */
.box > .bar_box {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.box > .bar_box > span {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #000;
  margin: 0 8px;
  cursor: pointer;
}

.box > .bar_box > span:hover {
  background-color: #000;
}
.box > .bar_box > .barActive {
  background-color: #000;
}
